package org.example.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@JsonInclude(JsonInclude.Include.NON_NULL)
@TableName("t_user")
public class User implements Serializable {
    @TableId(value = "foodId",type = IdType.AUTO)
    private Integer userId;
    private String username;
    private String password;
    private String realname;
    private Integer gender;
    private String phone;
    private String userImg;
    private Integer delTag;
}
